package com.yoyo.yyadsdk.serv;

import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.PixelFormat;
import android.os.Handler;
import android.os.IBinder;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.widget.TextView;

import com.yoyo.yyadsdk.R;
import com.yoyo.yyadsdk.bean.dao.AdvScreenEntity;
import com.yoyo.yyadsdk.broad.DismissReceiver;
import com.yoyo.yyadsdk.config.PullFeature;
import com.yoyo.yyadsdk.util.AdvUtils;
import com.yoyo.yyadsdk.util.TimeUtils;

public class WindowATPService extends WindowBaseService {

    @Override
    protected int getLayoutId() {
        return R.layout.common_table_plaque;
    }

    @Override
    protected void initStyle(WindowManager.LayoutParams mParams) {
        mParams.gravity = Gravity.CENTER;
        mParams.width = WindowManager.LayoutParams.WRAP_CONTENT;//窗口的宽和高
        mParams.height = WindowManager.LayoutParams.WRAP_CONTENT;
    }

    @Override
    protected int getAdvType() {
        return PullFeature.ADV_ICON_UP;
    }

    @Override
    protected void initInflate(View inflate) {

    }

    @Override
    protected void initData() {

    }


    @Override
    public void onAdSuccess() {

    }
}